package com.mdh.runerrands.dao;

import com.mdh.runerrands.pojo.AccountEmployee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AccountEmpDao {
    List<AccountEmployee> selectByUserId(int userId);
    List<AccountEmployee> selectQuery(int page,int pageSize,String money,String type,String description);
    int selectCount(String money,String type,String description);
    boolean updateWaiterCrash(int orderId,int waiterId,String type,int status,String description);
    boolean updateWaiterExamine(int orderId,int waiterId,int status);
    boolean insert(AccountEmployee accountEmployee);
    boolean updateWaiterRefuseExamine(int orderId,int WaiterId);


}
